ABC124 B - Great Ocean View
https://atcoder.jp/contests/abc124/tasks/abc124_b
提出
code: python
n = int(input())
h = list(map(int, input().split()))
highest = -1
ans = 0
for i in range(n):
if (highest <= h
i
):
ans += 1
highest = h
i
print(ans)